/**
 * Created by Administrator on 2016/9/2.
 */
swan_pc
    .factory("sessionManage",function($resource){
        return $resource("api/sessions/:id",{id:"@id"},{
            "query":{
                method:"GET",
                isArray:true
            },
            "get":{
                method:"GET"
            }
        })
    })
    .factory("CandidateUserBySession",function($resource){
        return $resource("api/sessions/:id/candidateUsers",{id:"@id"},{
            "query":{
                method:"GET",
                isArray:true
            }
        })
    });
